package com.zoweunion.mechanic.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/*
 * auth: 王春伟
 */
@Component
@ConfigurationProperties(prefix = "netty")
public class NettyConfig {
	private String ip;
	private int port;
	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}
	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}
}
